package com.esbi.projectwebsocket;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling //开启任务调度
@SpringBootApplication
public class ProjectWebSocketApplication {


    public static void main(String[] args) {
        SpringApplication.run(ProjectWebSocketApplication.class, args);
        System.out.print("\33[41;1m"+"项目启动成功"+"\n\33[0m");//红色背景
    }

}
